{% extends 'BudgetBudgetBundle::layout.html.twig' %}

{% block home_content %}
    
    <div class="container">
        
        
        
        <form action="{{ path("BudgetBudgetBundle_contact_send") }}" method="post">
            <div class="panel panel-default">
            <div class="panel-heading">
              <h3 class="panel-title">Formularz kontaktowy</h3>
            </div>
            <div class="panel-body">
              <div class="input-group input-group-lg">
                <span class="input-group-addon">E-mail:</span>
                <input type="email" class="form-control" name="email" placeholder="Podaj e-mail" required="required">
              </div>
              <br />

              <div class="input-group input-group-lg">
                <span class="input-group-addon">Temat:</span>
                <input type="text" class="form-control" name="subject" placeholder="Podaj temat" required="required">
              </div>
              <br />

              <textarea class="form-control" rows="3" name="body" placeholder="Podaj treść wiadomości" required="required"></textarea>
              <br />  

              <button type="submit" class="btn btn-primary">Wyślij wiadomość</button>
            </div>
        </form>
      </div>
    </div>
                
{% endblock %}